package com.rain.entity;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * @auther: rain
 * @description: （Electric Transmission Line）输电线路
 * @date: 2025-10-31
 */
public class EtLine implements Serializable {

	/**
	 * 主键ID
	 */
	private Integer id;

	/**
	 * 线路名称
	 */
	private String linename;

	/**
	 * 所属公司
	 */
	@JsonIgnore
	private Integer unitId;

	/**
	 * 1杆塔，2管道
	 */
	@JsonIgnore
	private Integer type;

	/**
	 * 线路坐标数组
	 */
	private String lineCoordinate;

	public void setId(Integer id)  { 
		this.id = id;
	}

	public Integer getId( ) { 
		return this.id;
	}

	public void setLinename(String linename)  { 
		this.linename = linename;
	}

	public String getLinename( ) { 
		return this.linename;
	}

	public void setUnitId(Integer unitId)  { 
		this.unitId = unitId;
	}

	public Integer getUnitId( ) { 
		return this.unitId;
	}

	public void setType(Integer type)  { 
		this.type = type;
	}

	public Integer getType( ) { 
		return this.type;
	}

	public void setLineCoordinate(String lineCoordinate)  { 
		this.lineCoordinate = lineCoordinate;
	}

	public String getLineCoordinate( ) { 
		return this.lineCoordinate;
	}

	@Override
	public String toString()  {
		return " EtLine { id: " + id + ", " + "linename: " + linename + ", " + "unitId: " + unitId + ", " + "type: " + type + ", " + "lineCoordinate: " + lineCoordinate + " } ";
	}
}